package com.ming_za.odupdaterserver.core.thread;

import org.springframework.stereotype.Component;

@Component
public class LogThread {

    private final SingleTaskThread singleTaskThread;

    public LogThread() {
        singleTaskThread = new SingleTaskThread("Log-Thread");
    }

    public void runTask(Runnable run){
        singleTaskThread.runTask(run);
    }

}
